package com.zbkj.crmeb.store.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 商品导入详情表
 * </p>
 *
 * @author wuzp
 * @since 2022-03-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("eb_store_product_upload")
@ApiModel(value="StoreProductUpload对象", description="商品导入详情表")
public class StoreProductUpload extends Model<StoreProductUpload> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "结果（0失败  1成功）")
    private Integer result;

    @ApiModelProperty(value = "详情")
    private String msg;

    @ApiModelProperty(value = "耗时")
    private Long time;

    @ApiModelProperty(value = "文件保存路径")
    private String url;

    @ApiModelProperty(value = "供应商id")
    private Integer supplierId;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
